module.exports = {

  plugins: [
    ["vuepress-plugin-boxx"],
    ['dynamic-title'],
    ['cursor-effects'],
    ['@vuepress-reco/loading-page'],
    ["import", {
      "libraryName": "vue-canvas-effect",
      "libraryDirectory": "src/components"
    }],
  /*  ["sakura", {
      num: 20,  // 默认数量
      show: true, //  是否显示
      zIndex: 999,   // 层级
      img: {
        replace: false,  // false 默认图 true 换图 需要填写httpUrl地址
        httpUrl: '...'     // 绝对路径
      }
    }]*/
  ],
  "title": "lin",
  "description": "",
  "dest": "public",
  locales: {
    '/': {
      lang: 'zh-CN'
    }
  },
  "head": [
    ["link",{"rel": "icon","href": "/favicon.ico"}],
    ["script", { src: "/randomRibbon.js" }],
    [
      "meta",
      {
        "name": "viewport",
        "content": "width=device-width,initial-scale=1,user-scalable=no"
      }
    ]
  ],
  "theme": "reco",
  "themeConfig": {

    "nav": [
      {
        "text": "首页",
        "link": "/",
        "icon": "reco-home"
      },
      {
        "text": "笔记",
        "icon": "reco-other",
        "link": "/docs/notebook/docker/docker1"
      },
      /*{
        "text": "时间轴",
        "link": "/timeline/",
        "icon": "reco-date"
      },*/
      {
        "text": "留言板",
        "link": "/message/",
        "icon": "reco-suggestion"
      },
      {
        "text": "关于我",
        "link": "/about/",
        "icon": "reco-account"
      },
/*      {
        "text": "Gitee",
        "icon": "reco-mayun",
        "link": "https://gitee.com/xoapyuer",
      }*/
    ],
    "sidebar": {
      "/docs/notebook/": [
        {
          title: "自动化部署",
          sidebarDepth: 2,
          collapsable: false,
           children: [
             {
               title: "Docker",
               sidebarDepth: 3,
               children:[
                   {
                     title: "什么是Docker",
                     path: "docker/docker1"
                   },
                   {
                     title: "为什么要使用 Docker",
                     path: "docker/docker2"
                   },
                   {
                     title: "Docker 基本概念",
                     path: "docker/docker3"
                   },
                   {
                     title: "Docker 的安装及基本语法",
                     path: "docker/docker4"
                   },
                   {
                     title: "Docker 实践",
                     path: "docker/docker5"
                   }
               ]
             },
             {
               title: "Dockerfile",
               sidebarDepth: 3,
               children:[
                 {
                   title: "什么是 Dockerfile",
                   path: "docker/dockerfile1"
                 },
                 {
                   title: "Dockerfile 实践",
                   path: "docker/dockerfile2"
                 }
               ]
             },
             {
               title: "Docker Compose",
               sidebarDepth: 3,
               children:[
                 {
                   title: "什么是 Docker Compose",
                   path: "docker/dockercompose1"
                 },
                 {
                   title: "Docker Compose 的安装",
                   path: "docker/dockercompose2"
                 },
                 {
                   title: "Docker Compose 实践",
                   path: "docker/dockercompose3"
                 }
               ]
             },
             {
               title: "私有 Docker 仓库",
               sidebarDepth: 3,
               children:[
                 {
                   title: "搭建 Harbor 私服",
                   path: "docker/registry1"
                 },
                 {
                   title: "Docker 安装 Registry",
                   path: "docker/registry2"
                 },
               ]
             },
             {
               title: "持续集成",
               sidebarDepth: 3,
               children:[
                 {
                   title: "Docker 安装 GitLab Runner",
                   path: "docker/runner1"
                 },
                 {
                   title: "使用.gitlab-ci.yml配置",
                   path: "docker/runner2"
                 },

               ]
             },
             {
               title: "离线安装",
               sidebarDepth: 3,
               children:[
                 {
                   title: "离线安装Docker",
                   path: "docker/xldocker"
                 },
                 {
                   title: "Docker打包镜像",
                   path: "docker/xldockerjx"
                 },
                 {
                   title: "离线安装DockerCompose",
                   path: "docker/xldockercompose"
                 },

               ]
             },
           ],
        },
        {
          title: "Nexus3",
          sidebarDepth: 2,
          collapsable: false,
           children: [
             { title: "Docker 安装 Nexus3 及使用", path: "nexus/docker-nexus3" },
             { title: "Maven 私服配置",  path: "nexus/docker-nexus-maven" },
           ],
        },
        {
          title: "Git",
          sidebarDepth: 2,
          collapsable: false,
           children: [
             { title: "Docker 安装 GitLab",     path: "git/docker-gitlab" },
             { title: "Git 命令操作",           path: "git/git" },
             { title: "Git 使用 ssh 免密登录",   path: "git/git-ssh" },
             { title: "Docker 安装 GitLab Runner",   path: "git/docker-runner" },

           ],
        },
        {
          title: "Docker Images",
          sidebarDepth: 2,
          collapsable: false,
           children: [
             { title: "Docker 安装 Registry",    path: "images/docker-registry" },
             { title: "Docker 打包 Java 项目",  path: "images/docker-registry-project" },
             { title: "搭建 Harbor 私服",       path: "images/docker-harbor" },
             { title: "Docker 运行镜像项目",       path: "images/docker-project" },
           ],
        },
        {
          title: "Oracle",
          sidebarDepth: 2,
          collapsable: false,
          children: [
            { title: "Docker 安装 Oracle 11g",    path: "oracle/docker-oracle" },
          ],
        },
        {
          title: "Mysql",
          sidebarDepth: 2,
          collapsable: false,
           children: [
             { title: "Docker 安装 MySQL",    path: "mysql/docker-mysql" },
           ],
        },
        {
          title: "Redis",
          sidebarDepth: 2,
          collapsable: false,
           children: [
             { title: "Docker 安装 Redis Sentinel 集群",    path: "redis/docker-redis" },
           ],
        },
        {
          title: "Zookeeper",
          sidebarDepth: 2,
          collapsable: false,
           children: [
             { title: "Docker 安装 Zookeeper 集群",    path: "zookeeper/docker-zookeeper" },
           ],
        },
        {
          title: "Nginx",
          sidebarDepth: 2,
          collapsable: false,
           children: [
             { title: "Docker 安装 Nginx 和使用",    path: "nginx/docker-nginx" },
           ],
        },
        {
          title: "自动化部署",
          sidebarDepth: 2,
          collapsable: false,
           children: [
             { title: "Docker 安装和部署 Jenkins",    path: "auto/docker-jenkins" },
           ],
        },
        {
          title: "Nacos",
          sidebarDepth: 2,
          collapsable: false,
           children: [
             { title: "Docker 安装和部署 Nacos",    path: "nacos/docker-nacos" },
           ],
        },
      ],
      "/docs/java/": [
        "",
      ],
      "/docs/recommend/": [
        {
          title: "工具",
          sidebarDepth: 2,
          collapsable: false,
          children: [
            { title: "推荐链接", path: "re_link" },
            { title: "推荐工具",  path: "re_tool" },
          ],
        },
      ]
    },
    "type": "blog",
    "blogConfig": {
      "category": {
        "location": 3,
        "text": "分类"
      },
      "tag": {
        "location": 4,
        "text": "标签"
      }
    },
/*    "friendLink": [
      {
        "title": "午后南杂",
        "desc": "Enjoy when you can, and endure when you must.",
        "email": "1156743527@qq.com",
        "link": "https://www.recoluan.com"
      },
      {
        "title": "vuepress-theme-reco",
        "desc": "A simple and beautiful vuepress Blog & Doc theme.",
        "avatar": "https://vuepress-theme-reco.recoluan.com/icon_vuepress_reco.png",
        "link": "https://vuepress-theme-reco.recoluan.com"
      }
    ],*/
    "logo": "/logo.png",
    "search": true,
    "searchMaxSuggestions": 10,
    "lastUpdated": "Last Updated",
    "author": "lin",
    "authorAvatar": "/avatar.png",
    "record": "鄂ICP备2020020848号",
    "recordLink":"#",
    "startYear": "2020",
    codeTheme: 'okaidia', // default 'tomorrow'
    valineConfig: {  // valine
      appId: 'd21peGI6qmU3gT65GPRmsycq-gzGzoHsz',// your appId
      appKey: 'QBAgdsvQ2XIdUXKcQ6XgQLAk', // your appKey
      placeholder: '填写邮箱可以收到回复提醒哦！',
    },
    smoothScroll: true,
    noFoundPageByTencent: false,
  },
  "markdown": {
    "lineNumbers": true
  }
}